Conditions | 1 |
Paths | 16 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | export default fixOptions; |
||
3 | function fixOptions(options){ |
||
4 | // Fix the margins |
||
5 | options.marginTop = options.marginTop || options.margin; |
||
6 | options.marginBottom = options.marginBottom || options.margin; |
||
7 | options.marginRight = options.marginRight || options.margin; |
||
8 | options.marginLeft = options.marginLeft || options.margin; |
||
9 | |||
10 | return options; |
||
11 | } |
||
12 |